package com.jic.order.api;


import com.jic.common.base.vo.RestResult;
import com.jic.order.response.OrderGoodsResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * @description: TODO
 * @author: lixuehui
 * @date: 2020/11/28 15:35
 * @Version 1.0
 */
@FeignClient(name = "jic-order", path = "/feign/orderGoods")
public interface OrderGoodsApi {

    /**
     * description: 查询TOP10商品信息
     */
    @PostMapping("/queryTopTenGoodes")
    RestResult<List<OrderGoodsResponse>> queryTopTenGoodes();

}
